Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regression test for linked .classpath and test source folder #3804

Closed

Conversation

HeikoKlare
Copy link
Contributor

When using linked resources for a project's .classpath file defining a JUnit classpath container or test source folders, they are not detected by Tycho. So the JUnit classpath container and the test source folder are not considered during the build and the tests are not executed.

This adds a test case demonstrating the integration of the .classpath file and a test source folder via linked resources in different ways:

  • file relative to the project location
  • folder relative the project location's parent and extracted into a variable

This serves as a reproducer for #3803.

I have used the project contents from another integration test, which is why I kept the copyright information that were already present in those files.

When using linked resources for a project's .classpath file defining a
JUnit classpath container or test source folders, they are not detected
by Tycho, such that the JUnit classpath container and the test source
folder are not considered during the build.

This adds a test case demonstrating the integration of the .classpath
file and a test source folder via linked resources.
Copy link

github-actions bot commented May 2, 2024

Test Results

396 files  396 suites   2h 30m 58s ⏱️
419 tests 411 ✅  7 💤 0 ❌ 1 🔥
838 runs  821 ✅ 15 💤 0 ❌ 2 🔥

For more details on these errors, see this check.

Results for commit f5a1d40.

@laeubi
Copy link
Member

laeubi commented May 3, 2024

@HeikoKlare many thanks I'll now take a look at this!

@laeubi
Copy link
Member

laeubi commented May 3, 2024

Testcase and fix integrated here:

@laeubi laeubi closed this May 3, 2024
@HeikoKlare HeikoKlare deleted the issue_3803_reproducer branch May 3, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants